
package com.fire.eyes.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import cn.afterturn.easypoi.excel.annotation.Excel;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

import java.io.Serializable;
import java.util.Date;

/**
 * 告警消除记录
 *
 * @author Matthew
 * @Date 2019-01-21 19:33
 */
@TableName("t_mit_record_alarm")
public class RecordAlarmModel extends Model<RecordAlarmModel> {

    private static final long serialVersionUID = 1L;


    /**
     * 告警id
     * 
     */
    @TableField(value="alertid")
    @Excel(name = "告警id")
    private String alertid;
    /**
     * 建表时间
     * 
     */
    @TableField(value="createtime")
    @Excel(name = "建表时间")
    private Date createtime;
    /**
     * 时间类型
     * 
     */
    @TableField(value="eventType")
    @Excel(name = "时间类型")
    private String eventType;
    /**
     * 站点
     * 
     */
    @TableField(value="siteToken")
    @Excel(name = "站点")
    private String siteToken;
    /**
     * 指派token
     * 
     */
    @TableField(value="deviceAssignmentToken")
    @Excel(name = "指派token")
    private String deviceAssignmentToken;
    /**
     * 支配类型
     * 
     */
    @TableField(value="deviceAssignmentType")
    @Excel(name = "支配类型")
    private String deviceAssignmentType;
    /**
     * 置产模块id
     * 
     */
    @TableField(value="assetModuleId")
    @Excel(name = "置产模块id")
    private String assetModuleId;
    /**
     * 资产
     * 
     */
    @TableField(value="assetId")
    @Excel(name = "资产")
    private String assetId;
    /**
     * 时间产生时间
     * 
     */
    @TableField(value="eventDate")
    @Excel(name = "时间产生时间")
    private Date eventDate;
    /**
     * 接收时间
     * 
     */
    @TableField(value="receivedDate")
    @Excel(name = "接收时间")
    private Date receivedDate;
    /**
     * 来源
     * 
     */
    @TableField(value="source")
    @Excel(name = "来源")
    private String source;
    /**
     * 级别
     * 
     */
    @TableField(value="level")
    @Excel(name = "级别")
    private String level;
    /**
     * 类型
     * 
     */
    @TableField(value="type")
    @Excel(name = "类型")
    private String type;
    /**
     * 消息
     * 
     */
    @TableField(value="message")
    @Excel(name = "消息")
    private String message;
    /**
     * 操作人
     * 
     */
    @TableField(value="operator")
    @Excel(name = "操作人")
    private String operator;
    /**
     * 处理时间
     * 
     */
    @TableField(value="operattime")
    @Excel(name = "处理时间")
    private Date operattime;
    /**
     * 存留照片
     * 
     */
    @TableField(value="spotimage")
    @Excel(name = "存留照片")
    private String spotimage;
    /**
     * 原因描述
     * 
     */
    @TableField(value="reason")
    @Excel(name = "原因描述")
    private String reason;
    /**
     * 获取: 告警id
     * 
     */
    public String getAlertid() {
        return alertid;
    }
    /**
     * 设置: 告警id
     * 
     */
    public void setAlertid(String alertid) {
        this.alertid = alertid;
    }
    /**
     * 获取: 建表时间
     * 
     */
    public Date getCreatetime() {
        return createtime;
    }
    /**
     * 设置: 建表时间
     * 
     */
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
    /**
     * 获取: 时间类型
     * 
     */
    public String getEventType() {
        return eventType;
    }
    /**
     * 设置: 时间类型
     * 
     */
    public void setEventType(String eventType) {
        this.eventType = eventType;
    }
    /**
     * 获取: 站点
     * 
     */
    public String getSiteToken() {
        return siteToken;
    }
    /**
     * 设置: 站点
     * 
     */
    public void setSiteToken(String siteToken) {
        this.siteToken = siteToken;
    }
    /**
     * 获取: 指派token
     * 
     */
    public String getDeviceAssignmentToken() {
        return deviceAssignmentToken;
    }
    /**
     * 设置: 指派token
     * 
     */
    public void setDeviceAssignmentToken(String deviceAssignmentToken) {
        this.deviceAssignmentToken = deviceAssignmentToken;
    }
    /**
     * 获取: 支配类型
     * 
     */
    public String getDeviceAssignmentType() {
        return deviceAssignmentType;
    }
    /**
     * 设置: 支配类型
     * 
     */
    public void setDeviceAssignmentType(String deviceAssignmentType) {
        this.deviceAssignmentType = deviceAssignmentType;
    }
    /**
     * 获取: 置产模块id
     * 
     */
    public String getAssetModuleId() {
        return assetModuleId;
    }
    /**
     * 设置: 置产模块id
     * 
     */
    public void setAssetModuleId(String assetModuleId) {
        this.assetModuleId = assetModuleId;
    }
    /**
     * 获取: 资产
     * 
     */
    public String getAssetId() {
        return assetId;
    }
    /**
     * 设置: 资产
     * 
     */
    public void setAssetId(String assetId) {
        this.assetId = assetId;
    }
    /**
     * 获取: 时间产生时间
     * 
     */
    public Date getEventDate() {
        return eventDate;
    }
    /**
     * 设置: 时间产生时间
     * 
     */
    public void setEventDate(Date eventDate) {
        this.eventDate = eventDate;
    }
    /**
     * 获取: 接收时间
     * 
     */
    public Date getReceivedDate() {
        return receivedDate;
    }
    /**
     * 设置: 接收时间
     * 
     */
    public void setReceivedDate(Date receivedDate) {
        this.receivedDate = receivedDate;
    }
    /**
     * 获取: 来源
     * 
     */
    public String getSource() {
        return source;
    }
    /**
     * 设置: 来源
     * 
     */
    public void setSource(String source) {
        this.source = source;
    }
    /**
     * 获取: 级别
     * 
     */
    public String getLevel() {
        return level;
    }
    /**
     * 设置: 级别
     * 
     */
    public void setLevel(String level) {
        this.level = level;
    }
    /**
     * 获取: 类型
     * 
     */
    public String getType() {
        return type;
    }
    /**
     * 设置: 类型
     * 
     */
    public void setType(String type) {
        this.type = type;
    }
    /**
     * 获取: 消息
     * 
     */
    public String getMessage() {
        return message;
    }
    /**
     * 设置: 消息
     * 
     */
    public void setMessage(String message) {
        this.message = message;
    }
    /**
     * 获取: 操作人
     * 
     */
    public String getOperator() {
        return operator;
    }
    /**
     * 设置: 操作人
     * 
     */
    public void setOperator(String operator) {
        this.operator = operator;
    }
    /**
     * 获取: 处理时间
     * 
     */
    public Date getOperattime() {
        return operattime;
    }
    /**
     * 设置: 处理时间
     * 
     */
    public void setOperattime(Date operattime) {
        this.operattime = operattime;
    }
    /**
     * 获取: 存留照片
     * 
     */
    public String getSpotimage() {
        return spotimage;
    }
    /**
     * 设置: 存留照片
     * 
     */
    public void setSpotimage(String spotimage) {
        this.spotimage = spotimage;
    }
    /**
     * 获取: 原因描述
     * 
     */
    public String getReason() {
        return reason;
    }
    /**
     * 设置: 原因描述
     * 
     */
    public void setReason(String reason) {
        this.reason = reason;
    }

    @Override
    protected Serializable pkVal() {
        return this.alertid;
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this);
    }
}
